﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Threading;
using System.Globalization;

public partial class Satellite_Local : System.Web.UI.Page
{

    protected override void InitializeCulture()
    {
        base.InitializeCulture();
        
    }


    protected void Page_Init()
    {
        Thread.CurrentThread.CurrentCulture = new CultureInfo("ja-JP");
        //HttpContext.Current.Server.


    }

    protected void Page_Load(object sender, EventArgs e)
    {
        ltrDisplay.Text = (string)GetLocalResourceObject("Hello"); 
    }

    protected void ChangeCulture(object sender, EventArgs e)
    {
        string culture = (sender as IButtonControl).CommandArgument;
        Response.Redirect("Local.aspx?culture=" + culture);
    }
}
